Optimal. Leaf size=197 \[ -\frac{A b-a B}{2 b (a+b x)^2 \sqrt{d+e x} (b d-a e)}-\frac{3 e (a B e-5 A b e+4 b B d)}{4 b \sqrt{d+e x} (b d-a e)^3}-\frac{a B e-5 A b e+4 b B d}{4 b (a+b x) \sqrt{d+e x} (b d-a e)^2}+\frac{3 e (a B e-5 A b e+4 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 \sqrt{b} (b d-a e)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.169148, antiderivative size = 197, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {78, 51, 63, 208} \[ -\frac{A b-a B}{2 b (a+b x)^2 \sqrt{d+e x} (b d-a e)}-\frac{3 e (a B e-5 A b e+4 b B d)}{4 b \sqrt{d+e x} (b d-a e)^3}-\frac{a B e-5 A b e+4 b B d}{4 b (a+b x) \sqrt{d+e x} (b d-a e)^2}+\frac{3 e (a B e-5 A b e+4 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 \sqrt{b} (b d-a e)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 51
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{A+B x}{(a+b x)^3 (d+e x)^{3/2}} \, dx &=-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 \sqrt{d+e x}}+\frac{(4 b B d-5 A b e+a B e) \int \frac{1}{(a+b x)^2 (d+e x)^{3/2}} \, dx}{4 b (b d-a e)}\\ &=-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 \sqrt{d+e x}}-\frac{4 b B d-5 A b e+a B e}{4 b (b d-a e)^2 (a+b x) \sqrt{d+e x}}-\frac{(3 e (4 b B d-5 A b e+a B e)) \int \frac{1}{(a+b x) (d+e x)^{3/2}} \, dx}{8 b (b d-a e)^2}\\ &=-\frac{3 e (4 b B d-5 A b e+a B e)}{4 b (b d-a e)^3 \sqrt{d+e x}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 \sqrt{d+e x}}-\frac{4 b B d-5 A b e+a B e}{4 b (b d-a e)^2 (a+b x) \sqrt{d+e x}}-\frac{(3 e (4 b B d-5 A b e+a B e)) \int \frac{1}{(a+b x) \sqrt{d+e x}} \, dx}{8 (b d-a e)^3}\\ &=-\frac{3 e (4 b B d-5 A b e+a B e)}{4 b (b d-a e)^3 \sqrt{d+e x}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 \sqrt{d+e x}}-\frac{4 b B d-5 A b e+a B e}{4 b (b d-a e)^2 (a+b x) \sqrt{d+e x}}-\frac{(3 (4 b B d-5 A b e+a B e)) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b d}{e}+\frac{b x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{4 (b d-a e)^3}\\ &=-\frac{3 e (4 b B d-5 A b e+a B e)}{4 b (b d-a e)^3 \sqrt{d+e x}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 \sqrt{d+e x}}-\frac{4 b B d-5 A b e+a B e}{4 b (b d-a e)^2 (a+b x) \sqrt{d+e x}}+\frac{3 e (4 b B d-5 A b e+a B e) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 \sqrt{b} (b d-a e)^{7/2}}\\ \end{align*}
Mathematica [C] time = 0.0615797, size = 96, normalized size = 0.49 \[ \frac{\frac{e (-a B e+5 A b e-4 b B d) \, _2F_1\left (-\frac{1}{2},2;\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{(b d-a e)^2}+\frac{a B-A b}{(a+b x)^2}}{2 b \sqrt{d+e x} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.02, size = 485, normalized size = 2.5 \begin{align*} -2\,{\frac{A{e}^{2}}{ \left ( ae-bd \right ) ^{3}\sqrt{ex+d}}}+2\,{\frac{eBd}{ \left ( ae-bd \right ) ^{3}\sqrt{ex+d}}}-{\frac{7\,A{b}^{2}{e}^{2}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}+{\frac{3\,Bba{e}^{2}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}+{\frac{{b}^{2}eBd}{ \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{9\,Aba{e}^{3}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}+{\frac{9\,A{b}^{2}d{e}^{2}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}+{\frac{5\,B{a}^{2}{e}^{3}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}-{\frac{Bbad{e}^{2}}{4\, \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}-{\frac{{b}^{2}eB{d}^{2}}{ \left ( ae-bd \right ) ^{3} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}-{\frac{15\,Ab{e}^{2}}{4\, \left ( ae-bd \right ) ^{3}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}+{\frac{3\,Ba{e}^{2}}{4\, \left ( ae-bd \right ) ^{3}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}+3\,{\frac{bBde}{ \left ( ae-bd \right ) ^{3}\sqrt{ \left ( ae-bd \right ) b}}\arctan \left ({\frac{b\sqrt{ex+d}}{\sqrt{ \left ( ae-bd \right ) b}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.63192, size = 2884, normalized size = 14.64 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.78832, size = 467, normalized size = 2.37 \begin{align*} -\frac{3 \,{\left (4 \, B b d e + B a e^{2} - 5 \, A b e^{2}\right )} \arctan \left (\frac{\sqrt{x e + d} b}{\sqrt{-b^{2} d + a b e}}\right )}{4 \,{\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )} \sqrt{-b^{2} d + a b e}} - \frac{2 \,{\left (B d e - A e^{2}\right )}}{{\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )} \sqrt{x e + d}} - \frac{4 \,{\left (x e + d\right )}^{\frac{3}{2}} B b^{2} d e - 4 \, \sqrt{x e + d} B b^{2} d^{2} e + 3 \,{\left (x e + d\right )}^{\frac{3}{2}} B a b e^{2} - 7 \,{\left (x e + d\right )}^{\frac{3}{2}} A b^{2} e^{2} - \sqrt{x e + d} B a b d e^{2} + 9 \, \sqrt{x e + d} A b^{2} d e^{2} + 5 \, \sqrt{x e + d} B a^{2} e^{3} - 9 \, \sqrt{x e + d} A a b e^{3}}{4 \,{\left (b^{3} d^{3} - 3 \, a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - a^{3} e^{3}\right )}{\left ({\left (x e + d\right )} b - b d + a e\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]